package com.lhdx.practical.service;

import com.lhdx.practical.bean.MenuConfig;

import java.util.List;

public interface MenuConfigService {
    void save(MenuConfig menuConfig);

    List<MenuConfig> findAllByGradeid(long gradeid);

    List<MenuConfig> findAllByPersonid(long personid);

    List<MenuConfig> findAllByPersonidAndGradeid(long personid,long gradeid);

    MenuConfig findByGradeidAndMenuid(long gradeid,long menuid);

    void deleteAllByGradeid(long gradeid);
}
